package main

import (
	app2 "fyne.io/fyne/v2/app"
	"fyne.io/fyne/v2/widget"
	"net/url"
)

/*
 设置一个超链接
*/
func main() {

	app := app2.New()
	myWindow := app.NewWindow("fyne")

	bugUrl, _ := url.Parse("http://github.com/linux-sys")
	myWindow.SetContent(widget.NewHyperlink("Report a bug", bugUrl))

	myWindow.ShowAndRun()
}
